package com.wangxiang.shop.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wangxiang.common.utils.PageEntity;
import com.wangxiang.common.utils.PageUtils;

import com.wangxiang.shop.product.entity.*;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author wangxiang
 * @email 2293672863@qq.com
 * @date 2022-04-02 11:30:18
 */
public interface SpuService extends IService<SpuEntity> {

    List<MemberCartEntity> getCart(List<ShopCartEntity> cartEntity);

    PageEntity page(PageEntity pageEntity);

    List<SpuEntity> getSpuByType(String type);

    List<SpuEntity> search(String search);

    List<SpuEntity> searchById(int spuId);

    int updateStatus(int id , int status);

    List<HashMap<String , Object>> param(int id);

    List<SkuEntity> getWareList(int id);

    List<CartEntity> memberCart(List<CartEntity> entity);

    List<HashMap<String , Object>> auditshopService(List<HashMap<String , Object>> maps);

    List<HashMap<String , Object>> memberOrderList(List<HashMap<String , Object>> maps);

    int addShop(HashMap<String , Object> mapAll , ArrayList<HashMap<Object, Object>> paramListMap , ArrayList<HashMap<String, Object>> skuListMap);






}

